-- GENERATED SPELL FOR [Snarlmane] --


function spell0_1948(pUnit, Event) --@Rage of Thule,n/a--
pUnit:FullCastSpellOnTarget(3387,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1948', 1500, 1)
end

function Sorts_1948(pUnit, Event)
local choix_sorts_1948 = math.random(0, 0)
if choix_sorts_1948 == 0 then
pUnit:RegisterEvent('spell0_1948', 1, 1)
end
end

function mob1948_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1948', math.random(1500, 3000), 1)
end

function mob1948_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1948_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1948_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1948, 1, 'mob1948_Action')
RegisterUnitEvent(1948, 2, 'mob1948_Leave')
RegisterUnitEvent(1948, 3, 'mob1948_Kill')
RegisterUnitEvent(1948, 4, 'mob1948_Die')
